<template>
	<view class="hoverButton" @click="handleAdd('/pages/publishPost/publishPost')">
		<icon
			class="iconfont icon-jiahao"/>
			
	</view>
</template>

<script lang="ts" setup name="">
	import { } from 'vue'
		
	function handleAdd(path){
		console.log("发帖");
		uni.navigateTo({
			url:path
		})
	}
</script>

<style scoped lang="scss">
	.hoverButton{
		position: fixed;
		right: 50upx;
		bottom: 150upx;
		z-index: 100;
		width: 100upx;
		height: 100upx;
		border-radius: 50%;
		background-color: $primary;
		display: flex;
		justify-content: center;
		align-items: center;
		box-shadow: 0 1px 5px 2px rgba(black, 0.3);
		.iconfont{
			font-size: 70upx;
			color: white;
		}
	}
</style>